package com.yuyou.fn.educational.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * 期段次
 *
 */
@TableName(value = "period_segment")
public class PeriodSegment implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<PeriodSegment> createExample(){
		return new Example<PeriodSegment>(PeriodSegment.class);
	}

	/**  */
	@TableId(value = "segment_id")
	private Long segmentId;

	/**  */
	@TableField(value = "period_id")
	private Long periodId;

	/** 段次 */
	@TableField(value = "segment_no")
	private Integer segmentNo;

	/** 开始日期 */
	@TableField(value = "start_date")
	private Date startDate;

	/** 结束日期 */
	@TableField(value = "end_date")
	private Date endDate;

	/** 有效讲次 */
	@TableField(value = "effective_lecture_num")
	private Integer effectiveLectureNum;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	public Long getSegmentId() {
		return this.segmentId;
	}

	public void setSegmentId(Long segmentId) {
		this.segmentId = segmentId;
	}

	public Long getPeriodId() {
		return this.periodId;
	}

	public void setPeriodId(Long periodId) {
		this.periodId = periodId;
	}

	public Integer getSegmentNo() {
		return this.segmentNo;
	}

	public void setSegmentNo(Integer segmentNo) {
		this.segmentNo = segmentNo;
	}

	public Date getStartDate() {
		return this.startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return this.endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Integer getEffectiveLectureNum() {
		return effectiveLectureNum;
	}

	public void setEffectiveLectureNum(Integer effectiveLectureNum) {
		this.effectiveLectureNum = effectiveLectureNum;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
